package com.vecspace.data.model.reflect;

import java.util.ArrayList;

/**
 * 
 * @version: 1.0
 * @author: wanghua
 */
public class MethodSimpleInfo {
	private String methodName;
	private String pathName;
	private ArrayList<ArgumentSimpleInfo> arguments = new ArrayList<ArgumentSimpleInfo>();
	 
	private String resultDataType;
	private Object resultData;
	
	public MethodSimpleInfo(){
		
	}
	
	public MethodSimpleInfo(String methodName){
		this.methodName = methodName;
	}
	
	public MethodSimpleInfo(String methodName, String pathName){
		this.methodName = methodName;
		this.pathName = pathName;
	}
	
	
	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}
	public String getPathName() {
		return pathName;
	}

	public void setPathName(String pathName) {
		this.pathName = pathName;
	}

	public void addArgument(ArgumentSimpleInfo arg){
		arguments.add(arg);
	}

	public ArrayList<ArgumentSimpleInfo> getArguments() {
		return arguments;
	}

	public void setArguments(ArrayList<ArgumentSimpleInfo> arguments) {
		this.arguments = arguments;
	}

	public String getResultDataType() {
		return resultDataType;
	}

	public void setResultDataType(String resultDataType) {
		this.resultDataType = resultDataType;
	}

	public Object getResultData() {
		return resultData;
	}

	public void setResultData(Object resultData) {
		this.resultData = resultData;
	}
	
	
}
